package com.kun.mapper;

import com.kun.entity.Attachment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface AttachmentMapper {

    public int addAttachment(Attachment attachment);

    public int deleteAttachment(int id);

    public int updateAttachment(Attachment attachment);

    public List<Attachment> selectAllAttachments(Map map);

}
